Skip to content

Update twig deprecated call by it's updated version #518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

allan-simon
Copy link

Version 3.12 of Twig deprecated the use of getNode('filter')

see https://twig.symfony.com/doc/3.x/deprecated.html#nodes

@bocharsky-bw
Copy link
Member

Thank you for this change! Could you take a look at the failed test - looks related. I suppose we could fix it with a little version bump for twig package? If so - it should be the easiest fix, otherwise we may need a legacy check and keep both ways.

@ZZromanZZ
Copy link

I believe RemovingNodeVisitor is not the only place where Twig deprecatations are. Can they be removed all at once?
image

@allan-simon
Copy link
Author

allan-simon commented Apr 15, 2025 via email

@ZZromanZZ
Copy link

My try: #519

@gimler
Copy link
Contributor

gimler commented Apr 15, 2025

we must raise min. version from twig to 3.12.0 in composer.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants